home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 21 / 021.d81 / t.disk frisk < prev    next >
Text File  |  2022-08-26  |  6KB  |  363 lines

  1.  
  2.             Disk Frisk
  3.  
  4.  
  5. Written by:  Jeff Johnson
  6.  
  7.  
  8.   DISK FRISK is one of the most
  9.  
  10. powerful disk utilities ever written
  11.  
  12. for the Commodore 64.  It combines
  13.  
  14. some of the most useful disk routines
  15.  
  16. around, including sector editing,
  17.  
  18. file rescuing, and catalog
  19.  
  20. rearranging.  So, without further
  21.  
  22. chit-chat, let's get right into it.
  23.  
  24.   When you run DISK FRISK (DF from now
  25.  
  26. on), you are first presented with a
  27.  
  28. menu of all options.  A little hand
  29.  
  30. that is controlled via the UP/DOWN
  31.  
  32. CRSR key points to the function you
  33.  
  34. want to perform.  Below are the
  35.  
  36. instructions for all of the options.
  37.  
  38.  
  39.  OPTION 1 -- SECTOR EDITING
  40.  
  41.   This option allows you to edit any
  42.  
  43. track and sector of a disk.  When you
  44.  
  45. choose this option, insert the disk
  46.  
  47. you wish to work on.
  48.  
  49.   DF allows you to edit in HEX, ML,
  50.  
  51. or BASIC formats.  The HEX option also
  52.  
  53. presents you with the character
  54.  
  55. representation of the data.  When
  56.  
  57. editing in HEX, the UP/DOWN CRSR key
  58.  
  59. allows you to scroll through the
  60.  
  61. sector ($00-$FF).  The LEFT/RIGHT CRSR
  62.  
  63. key allows you to move across a
  64.  
  65. particular line of data.  One thing to
  66.  
  67. remember when editing HEX is to always
  68.  
  69. press RETURN on a line to make a
  70.  
  71. change stay.  When editing, also
  72.  
  73. remember that none of the editing
  74.  
  75. actually goes onto the disk until you
  76.  
  77. write that sector back (more on that
  78.  
  79. later).
  80.  
  81.   Other formats let you list the data
  82.  
  83. in either ML or BASIC format.  This is
  84.  
  85. very handy if you happen to be
  86.  
  87. searching for the remains of some
  88.  
  89. program.
  90.  
  91.   NEW T/S (Track/Sector) allows you to
  92.  
  93. input a new track and sector to edit.
  94.  
  95. For example, to edit track
  96.  
  97. 14(decimal), sector 10(decimal), you
  98.  
  99. would enter 14,10. To enter the values
  100.  
  101. in HEX, you must prefix a '$'.  In
  102.  
  103. other words, our example would be
  104.  
  105. entered as $0E,$0A.
  106.  
  107.   NEXT T/S simply reads the current
  108.  
  109. track and sector's link to the next
  110.  
  111. track and sector.
  112.  
  113.   PREVIOUS T/S returns you to the
  114.  
  115. track and sector you worked on right
  116.  
  117. before the one currently displayed.
  118.  
  119.   WRITE T/S writes the current track
  120.  
  121. and sector to disk with any changes
  122.  
  123. you may have made.
  124.  
  125.   PRINT T/S prints a copy of the
  126.  
  127. display on your printer.
  128.  
  129.   RECALL BUFFER and STORE BUFFER are
  130.  
  131. very useful functions.  STORE BUFFER
  132.  
  133. allows you to store a sector in a
  134.  
  135. temporary buffer.  You can later
  136.  
  137. RECALL this buffer for use in another
  138.  
  139. sector.
  140.  
  141.   QUIT returns you to the main menu.
  142.  
  143.  
  144.  OPTION 2 -- RESCUE SCRATCHED FILES
  145.  
  146.   This option will search through the
  147.  
  148. directory and find all scratched
  149.  
  150. files. Using the CRSR keys, you can
  151.  
  152. scroll through all the scratched
  153.  
  154. filenames. When you find the one you
  155.  
  156. want to 'un-scratch', press RETURN.
  157.  
  158. This allows you to scroll through all
  159.  
  160. the available types of files.  Find
  161.  
  162. the type that matches the file you
  163.  
  164. want to recover.  For example, say I
  165.  
  166. scratched a SEQuential text file full
  167.  
  168. of game instructions and I later found
  169.  
  170. that I really needed that file.  Using
  171.  
  172. DF, I would scroll through the names
  173.  
  174. until I found my filename.  In my
  175.  
  176. case, it was named INSTRUCT.  I press
  177.  
  178. RETURN and then scroll through the
  179.  
  180. types until I find SEQ.  I then press
  181.  
  182. RETURN and DF will state that it's
  183.  
  184. trying to fix it.  DF will then tell
  185.  
  186. me if the recovery was COMPLETE or
  187.  
  188. INCOMPLETE.
  189.  
  190.  
  191.  OPTION 3 -- LOCK/UNLOCK A FILE
  192.  
  193.  
  194.   This option allows you to protect
  195.  
  196. files from being scratched.  By using
  197.  
  198. the CRSR keys, you can scroll through
  199.  
  200. all the files on your disk and decide
  201.  
  202. whether you want to lock them (or
  203.  
  204. unlock them if they are already
  205.  
  206. locked).
  207.  
  208.  
  209.   OPTION 4 -- VIEW A DIRECTORY
  210.  
  211.   This option presents the directory
  212.  
  213. of a disk showing filename, file type,
  214.  
  215. file size, beginning track and sector,
  216.  
  217. and whether it is locked or unclosed.
  218.  
  219. You can scroll through the directory
  220.  
  221. by using the CRSR keys. Pressing the
  222.  
  223. '?' lets you view the different ways
  224.  
  225. of printing your directory.
  226.  
  227.  
  228.   OPTION 5 -- RECOLLECT BAM
  229.  
  230.  
  231.   This actually performs the
  232.  
  233. equivalent of a validate.
  234.  
  235.  
  236.   OPTION 6 -- SEND A DISK COMMAND
  237.  
  238.   This allows you to send commands
  239.  
  240. such as 'I0' (initialize) to the disk
  241.  
  242. drive.  Simply type in the command.
  243.  
  244. For example, to scratch a file named
  245.  
  246. DUMMY, merely enter S0:DUMMY <RETURN>.
  247.  
  248. The disk will then carry out the
  249.  
  250. command and report the status back to
  251.  
  252. you.
  253.  
  254.  
  255.   OPTION 7 -- DISPLAY BAM
  256.  
  257.   This option gives you a graphic
  258.  
  259. representation of how full your disk
  260.  
  261. is.  It does this by reading the
  262.  
  263. BLOCK AVAILABILITY MAP (or BAM for
  264.  
  265. short).
  266.  
  267.  
  268.   OPTION 8 -- REARRANGE DIRECTORY
  269.  
  270.   This option allows you to move files
  271.  
  272. around in the directory.  You can sort
  273.  
  274. the directory by alphabetizing by
  275.  
  276. filenames,  by file size (smallest go
  277.  
  278. to top), or by file type.  To move a
  279.  
  280. file, move the highlight to the file.
  281.  
  282. Press F1 and then F7.  Move the high-
  283.  
  284. light to the name of the file you want
  285.  
  286. your 'moving' file to go ABOVE and
  287.  
  288. press 'M'.  To save a new directory to
  289.  
  290. disk, simply press 'S'.
  291.  
  292.  
  293.   OPTION 9 -- TRACE A FILE
  294.  
  295.   This file allows you to trace the
  296.  
  297. layout of a file by track and sector.
  298.  
  299. The trace can be listed to screen or
  300.  
  301. printer.  This is extremely helpful
  302.  
  303. when looking for the remains of a
  304.  
  305. program on a blown-up disk.
  306.  
  307.  
  308.   OPTION 10 -- END
  309.  
  310.  
  311.   This is the easiest and least
  312.  
  313. useful.  This option simply returns
  314.  
  315. you to the BASIC environment.  Please
  316.  
  317. note that DF does NOT return to
  318.  
  319. LOADSTAR.
  320.  
  321.  
  322.   If you do not understand techniques
  323.  
  324. in disk editing or the physical
  325.  
  326. layout of data on a floppy disk,
  327.  
  328. PLEASE!!! be careful with DF.  Nothing
  329.  
  330. can blow-up a disk faster than a
  331.  
  332. disk editor combined with a curious
  333.  
  334. mind.  To gain more knowledge of the
  335.  
  336. layout of a floppy, you can refer to
  337.  
  338. the back of your 1541 manual.  If you
  339.  
  340. are extremely curious, you many want
  341.  
  342. to order the COMPLEAT DOS and DON'TS
  343.  
  344. Disk.  This disk explains a some of
  345.  
  346. the fundamentals of disk usage as well
  347.  
  348. as some of the more advanced
  349.  
  350. techniques.
  351.  
  352.   REMEMBER -- BE CAREFUL!!  A DISK IS
  353.    A TERRIBLE THING TO WASTE.
  354.    (especially if it has a great
  355.     game on it!)
  356.  
  357.  
  358.  
  359. >Files used:  DISK FRISK
  360.  
  361. ---------< end of article >-----------
  362.  
  363.